<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------
define('UC_AUTH_KEY', '~#T*=jR"97M/;D.HyWiSBd6k+osx:-t)?OGLU%uN'); //加密KEY
/**
 * 系统配文件
 * 所有系统级别的配置
 */
return array(
    /* 模块相关配置 */
    'AUTOLOAD_NAMESPACE' => array('Addons' => ONETHINK_ADDON_PATH), //扩展模块列表
    'DEFAULT_MODULE'     => 'Home',
    'MODULE_DENY_LIST'   => array('Common', 'User'),
    //'MODULE_ALLOW_LIST'  => array('Home','Admin'),
    'FILE_UPLOAD_TYPE'  => 'Local',
  
    /* 系统数据加密设置 */
    'DATA_AUTH_KEY' => '~#T*=jR"97M/;D.HyWiSBd6k+osx:-t)?OGLU%uN', //默认数据加密KEY

    /* 调试配置 */
    'SHOW_PAGE_TRACE' => true,

    /* 用户相关设置 */
    'USER_MAX_CACHE'     => 1000, //最大缓存用户数
    'USER_ADMINISTRATOR' => 1, //管理员用户ID

    /* URL配置 */
    'URL_CASE_INSENSITIVE' => true, //默认false 表示URL区分大小写 true则表示不区分大小写
    'URL_MODEL'            => 1, //URL模式
    'VAR_URL_PARAMS'       => '', // PATHINFO URL参数变量
    'URL_PATHINFO_DEPR'    => '/', //PATHINFO URL分割符

    /* 全局过滤配置 */
    'DEFAULT_FILTER' => '', //全局过滤函数

    /* 数据库配置 */
  /*  'DB_TYPE'   => 'mysqli', // 数据库类型
    'DB_HOST'   => 'w.rdc.sae.sina.com.cn', // 服务器地址
    'DB_NAME'   => 'app_volunteerdemo', // 数据库名
    'DB_USER'   => 'j000m0m1wm', // 用户名
    'DB_PWD'    => 'y5kl5x3l25w2kimym525j00jk42m2xyx3j22m2jh',  // 密码
    'DB_PORT'   => '3306', // 端口
    'DB_PREFIX' => 'vo_', // 数据库表前缀*/

    'DB_TYPE'   => 'mysqli', // 数据库类型
    'DB_HOST'   => '127.0.0.1', // 服务器地址
    'DB_NAME'   => 'zhifubao_moban', // 数据库名
    'DB_USER'   => 'root', // 用户名
    'DB_PWD'    => 'root',  // 密码
    'DB_PORT'   => '3306', // 端口
    'DB_PREFIX' => 'vo_', // 数据库表前缀


    'ALI'=>array(
        'name' => '爱赞优惠券',
        // 用于跳转页面 写绑定的域名
        'url' => 'http://alipay.jiandudu.com/index.php/Home/Index/index',
        // 用于记录充值成功后的订单 触发红包时用到商户打款后的跳转链接，从支付宝收银台打款成功后的跳转链接。不填时，打款后停留在支付宝支付成功页。商户实际跳转会自动添加crowdNo作为跳转参数
        'merchant_link'=>'http://alipay.jiandudu.com/index.php/Admin/RedEnvelopes/merchant',
        //应用ID,您的APPID。
        'app_id' => "2015120700934021",

        //商户私钥，您的原始格式私钥,一行字符串
        'merchant_private_key' => "MIIEpgIBAAKCAQEA0bdum9GXbBA86dqHArY/m1tohodbz+ykEFYHR+QWT5G5aRhvnUu31NU6ucAPUubDc6ton2LHwJVJZZckDQK+yyCTuksncZUdvA77vX7p8Xi9Qy1vqwo9EHTcF7Hi8uUmGAY9hhw7P54+OnyLbCtUqHkQyCAYixSlXlo8DteMk2ZeVlkQHysyc65LdrxakbRohLe3EBLGUgNlFJtaaTLU4uM6c7xRxTutXipQ6kR6JwSTl610WE3UgVP0tO7xvE1mRG/zr9CEp8RQkBoCmtfKiycaGQSpOTEu9Qj2lVeSXdDF7GFC7xOykv+Wi3IebGVf1rM8v7cN1bRpqflg84yJWQIDAQABAoIBAQCCTypJY9hk60oOPRz7EGdBj3DJdr4T2oSvKeVoRE+grXm51dc0s+HMO5o75R0gdAcqjm157BUWkyyCFYHvG6+V4+4nKZ+esftB6UV/H6cZxd5EKa1jZ/89hH9lscDFEKG099uuw0gFZbxg9xZi5iG6dU96KodVlESU9hivWDwfMbFIEsnuKuln2LcP9j4BYFzxRpyaZ08ZH2QTPRdhJlV8DtKzEB60pB6hkh9ZufMwz1Vndk1ZO45A/ETIC5f+oa9Y/ZK4dPHOU/bWpdEhejQ79jgO7kPXHXyleQvZi9nzEePprZ07PmMDcgWB8QkGqHciKtdEpMUmG4mYVfSE0zEhAoGBAP9lcatqsuMdKJZyCkuDA1lxlFWO8WUdWRfZPIf5RoBAFtJgMT94cxadEg3DqNwTH9Sw/XTQhx6iaJa53VqXFiaYSTXUnPpB0AQ4gXev7hsfpbRvW62dUeU/BSzPZLYP9bod2tXgIdG1FSfHoNXwhmTFbHppdt+y2lJZ9eBPak91AoGBANI2WCx1rME7hvVtBMCEEkWRk16ugdF0i73bfla6uNo/UYmyiXatrcze41/ORiPc4hQxFYh3abkskTt6cakvsPGG1CaqQavL/6gsA3cel59p1JSQyd5+WtuAiyQx5x7Y9wcOjNHp/rn3hUONMl2/MLtn98DrXe3rhrIjUb1APhnVAoGBAMQphao01NuOTNtpEjE3mr37eARTO2P/q6uepliGBTmCgETrr0fh2vvWfsRlsPAAHGW/35z2gaHs+koyzirDezb/ptOaz0uEeyKSyBZG4aqhnyO8mHz8JaffxLjLPr57+bAPOEMn2LH61RntwcIw8Pi7jntjP/PHqtqv0COOu8f1AoGBAMLs17hqagZIz62XKPfnwBW4lwIOKZzzSH2GIlIEFVNzsYVRA/0Dsg0uhYMagJnSweVdWo1Pxb6LICUaNnlfGuHsV59+8yR+JxRns9LqkEinVxNoa3igjFnMibnHeHx3TiHCETy5kZYaev2X2aNqnaK6FthSqKftZdqbu7kU8ED9AoGBAMveEoHF8vwrMWvq+CStw03dKMsoi6wYHTGxuMlnox8+uNwnjra77Azqca8TocL+cirFJD7XYYJNLj8DmeIBuHTprUh5Rm3e4irpV+TjH1SAjtnIANUUA/7OupFwUm0I8ja6ofHMLSdV0sEyNByh6ajZlM7l72yfGVnPuZCig0n6",
        //商户应用公钥,一行字符串
        'merchant_public_key' => "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0bdum9GXbBA86dqHArY/m1tohodbz+ykEFYHR+QWT5G5aRhvnUu31NU6ucAPUubDc6ton2LHwJVJZZckDQK+yyCTuksncZUdvA77vX7p8Xi9Qy1vqwo9EHTcF7Hi8uUmGAY9hhw7P54+OnyLbCtUqHkQyCAYixSlXlo8DteMk2ZeVlkQHysyc65LdrxakbRohLe3EBLGUgNlFJtaaTLU4uM6c7xRxTutXipQ6kR6JwSTl610WE3UgVP0tO7xvE1mRG/zr9CEp8RQkBoCmtfKiycaGQSpOTEu9Qj2lVeSXdDF7GFC7xOykv+Wi3IebGVf1rM8v7cN1bRpqflg84yJWQIDAQAB",

        //支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
        'alipay_public_key' => "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl/kHwnYpkFHvcJCBGfQX1ueXpB59cBvIkNG/Hq7+c1HpE9GaQN0UZniFRqnLXRmtgZJwTphDRFHpy4w4+zsX3wABPPgOjYqEgRRxl68ERNdvalawfmZ2vXf6OuWsyYDVY73L6QKd6MydPr9vNgfxjgYDTdW6d2wcVW85+ZB455HX64NaPW9bF0tzJK8n7oHsqxPfJGV4p08g1YFG3uZt/u3SzOEEvFtu3JHJHK+474xXZNG4RneSaRmJT+Zs6+uycm4sDu5OTBopriO0uqU3QMDJ6NdbaFsQMw50fIufxG/316HX8larexSz20oPqdTOxGQVvnjFs+qtxn2+GO8qFQIDAQAB",

        //编码格式只支持GBK。
        'charset' => "GBK",

        //支付宝网关
        'gatewayUrl' => "https://openapi.alipay.com/gateway.do",

        //签名方式
        'sign_type'=>"RSA2"
    ),
);
